package com.xm.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.util.List;

/**
 * @Author tianqin
 * @Date 2024/7/29 13:59
 * 首页数据对象
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class HomeInfoEntity {
    /**
     * 最大想买价格商品 ID
     */
    private int maxWantBuyPriceGoodsId;

    /**
     * 想买最大价格时间
     */
    private String wantBuyMaxPriceTime;

    /**
     * 订单号
     */
    private String orderNum;

    /**
     * 描述
     */
    private String description;

    /**
     * 交易前价格
     */
    private String beforeDealPrice;

    /**
     * 交易价格
     */
    private String dealPrice;

    /**
     * 来源
     */
    private int source;

    /**
     * 平台图标 URL
     */
    private String platformIcon;

    /**
     * 类型
     */
    private int type;

    /**
     * 销售数量
     */
    private int sellingCount;

    /**
     * 是否为 PFP
     */
    private Object isPfp;

    /**
     * 用户 ID（未知具体用途）
     */
    private Object uid;

    /**
     * 总数
     */
    private int total;

    /**
     * 商品存档类型
     */
    private Object goodsArchiveType;

    /**
     * 商品 ID
     */
    private int id;

    /**
     * 平台名称
     */
    private String platformName;

    /**
     * 商品最低价格
     */
    private String goodsMinPrice;

    /**
     * 存档图片 URL 列表
     */
    private List<String> archiveImage;

    /**
     * 昨日对比数据
     */
    private Object yesterdayCompare;

    /**
     * 非法计数
     */
    private int illegalCount;

    /**
     * 商品编号
     */
    private Object goodsNo;

    /**
     * 存档名称
     */
    private String archiveName;

    /**
     * 商品增值
     */
    private Object goodsIncrease;

    /**
     * 想买数量
     */
    private int wantBuyCount;

    /**
     * 平台 ID
     */
    private int platformId;

    /**
     * 是否来自第三方
     */
    private boolean comingFromThirdParty;

    /**
     * 最低价格商品 ID
     */
    private int minPriceGoodsId;

    /**
     * 想买最大价格
     */
    private int wantBuyMaxPrice;

    /**
     * 是否为皇冠
     */
    private boolean isCrown;

    /**
     * 浏览数量
     */
    private int browseNum;

    @Override
    public String toString() {
        return "Goods{" +
                "maxWantBuyPriceGoodsId=" + maxWantBuyPriceGoodsId +
                ", wantBuyMaxPriceTime='" + wantBuyMaxPriceTime + '\'' +
                ", orderNum='" + orderNum + '\'' +
                ", description='" + description + '\'' +
                ", beforeDealPrice='" + beforeDealPrice + '\'' +
                ", dealPrice='" + dealPrice + '\'' +
                ", source=" + source +
                ", platformIcon='" + platformIcon + '\'' +
                ", type=" + type +
                ", sellingCount=" + sellingCount +
                ", isPfp=" + isPfp +
                ", uid=" + uid +
                ", total=" + total +
                ", goodsArchiveType=" + goodsArchiveType +
                ", id=" + id +
                ", platformName='" + platformName + '\'' +
                ", goodsMinPrice='" + goodsMinPrice + '\'' +
                ", archiveImage=" + archiveImage +
                ", yesterdayCompare=" + yesterdayCompare +
                ", illegalCount=" + illegalCount +
                ", goodsNo=" + goodsNo +
                ", archiveName='" + archiveName + '\'' +
                ", goodsIncrease=" + goodsIncrease +
                ", wantBuyCount=" + wantBuyCount +
                ", platformId=" + platformId +
                ", comingFromThirdParty=" + comingFromThirdParty +
                ", minPriceGoodsId=" + minPriceGoodsId +
                ", wantBuyMaxPrice=" + wantBuyMaxPrice +
                ", isCrown=" + isCrown +
                ", browseNum=" + browseNum +
                '}';
    }
}
